package com.charm.information.adapter

import com.chad.library.adapter.base.BaseViewHolder
import com.charm.frameworkarou.recycleadapter.QuickRecyAdapter
import com.charm.information.R
import com.charm.information.entity.EastCommentEntity

/**
 * Created by tools on 2018/1/16.
 */
class EastDetalCommentAdapter(list: List<EastCommentEntity>?) : QuickRecyAdapter<EastCommentEntity>(list) {
    override fun convert(helper: BaseViewHolder?, item: EastCommentEntity?) {
        helper!!.setText(R.id.author,item!!.name)
    }

    override fun getLayoutResId(): Int {
        return R.layout.item_east_detal_comment
    }

}